package com.liang.subject.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liang.subject.infra.basic.entity.SubjectMultiple;
import com.liang.subject.infra.basic.service.SubjectMultipleService;
import com.liang.subject.infra.basic.mapper.SubjectMultipleMapper;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author 29018
 * @description 针对表【subject_multiple(多选题信息表)】的数据库操作Service实现
 * @createDate 2024-10-12 15:24:37
 */
@Service
public class SubjectMultipleServiceImpl extends ServiceImpl<SubjectMultipleMapper, SubjectMultiple> implements SubjectMultipleService {

    @Override
    public List<SubjectMultiple> listBySubjectId(Long subjectId) {
        return lambdaQuery().eq(SubjectMultiple::getSubjectId, subjectId).list();
    }
}




